.class Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;
.super Ljava/lang/Object;
.source "FileTransferSettingActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/widget/EditText;

.field final synthetic b:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;Landroid/widget/EditText;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->b:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->a:Landroid/widget/EditText;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 1

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->a:Landroid/widget/EditText;

    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->b:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    const p2, 0x7f1109c9

    invoke-virtual {p1, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    const/4 v0, 0x0

    invoke-static {p1, p2, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 3
    :cond_0
    iget-object p2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->a:Landroid/widget/EditText;

    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/estrongs/android/pop/l;->g0(Ljava/lang/String;)V

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->a()V

    .line 6
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a$d;->b:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$a;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;->m:Landroid/widget/TextView;

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
